<!doctype html>
<html>
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,minimum-sclae=1.0,user-scalable=0">
	<title>宠物速配，撩解一下</title>
	<script type="text/javascript" src="js/flexible.js"></script>
	<link rel="stylesheet" type="text/css" href="css/base.css">
	<script type="text/javascript" src="../../js/zepto.min.js"></script>
</head>
<body style="background:#FFA66A;">
	<div class="upload">
		<div class="cont">
			<img src="" width="100%">
		</div>
		<!-- 我要制作 -->
		<div class="make" flex="main:center">
			<a href="/uaf-pet-monitor"></a><a href="javascript:;" id="follow"></a>
		</div>
		<!-- 二维码弹框 -->
		<div class="codePop">
			<div class="bg"></div>
			<div class="wrap">
				<img src="img/code2.png">
				<p>长按识别二维码 关注【宠宠窝】<br>一个有趣的爱宠人的聚集地<br>更多萌宠在这里等你来撩！</p>
			</div>
		</div>
	</div>
	<script>
		// 统计分享页
		// $.post(baseUrl+'addMonitor',{event:'2'});
		// 根据url参数选择模板
		var url=decodeURIComponent(location.search),template,sharePara;
		if (url.indexOf("?") != -1) {
			var para = url.substr(1).split("&");
			template = para[0].split("=")[1];
			sharePara= para[1].split("=")[1];
			// 根据参数生成对应模板
			$('.upload').addClass('moban'+template);
			// 生成图片内容
			$('.cont img').attr('src','/images/report/'+sharePara+'.jpg');
		}
		// 点击关注
		$('#follow').click(function(){
			$('.codePop').show();
		})
		$('.codePop .bg').click(function(){
			$('.codePop').hide();
		})
	</script>
</body>
</html>